package springmvc_demo.Controller;

import org.springframework.web.bind.annotation.GetMapping;

@org.springframework.stereotype.Controller
public class IndexController {
    @GetMapping("/index")
    public String index(){
        System.out.println("控制器");
        return "index";
    }
}
